package com.consts;

/**
 * @author Smile
 */

public enum Const {
    pdf_prefix("data:application/pdf;base64,"),
    img_prefix("data:image/png;base64,"),
    get_unit_list("getUnitList"),
    login_verification("loginVerification"),
    get_case_list("getCaseList"),
    get_case_info("getCaseInfo"),
    get_dossier_catalog("getDossierCatalog"),
    get_docDossier_catalog("getDocDossierCatalog"),
    get_user_info("getUserInfo"),
    download_dossier("downloadDossier"),
    download_docDossier("downloadDocDossier");

    private String value;

    Const(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return value;
    }

    public Const GetEnum(String value) {
        return value.equals(this.value) ? this : null;
    }
}
